run:
  timeout: 10m

issues:
  exclude:
    - ST1005.*
    - "exported: .*"
    - "error-strings: error strings should not be capitalized.*"

linters-settings:
  gci:
    local-prefixes: github.com/deckhouse/
  goimports:
    local-prefixes: github.com/deckhouse/deckhouse
  errcheck:
    ignore: fmt:.*,[rR]ead|[wW]rite|[cC]lose,io:Copy

linters:
  disable-all: true
  enable:
    - bodyclose
    - deadcode
    - depguard
    - dogsled
    - dupl
    - errcheck
    - exhaustive
    - exportloopref
    - gocritic
    - gocyclo
    - gci
    - gofmt
    - goimports
    - gosec
    - gosimple
    - govet
    - ineffassign
    - misspell
    - nakedret
    - nolintlint
    - prealloc
    - revive
    - rowserrcheck
    - staticcheck
    - structcheck
    - stylecheck
    - tparallel
    - typecheck
    - unconvert
    - unparam
    - unused
    - varcheck
    - whitespace
